﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProtoType
{
    public enum State{
        HAS_QUARTER,
        NO_QUARTER, 
        SOLD,
        SOLD_OUT
    }
    public class GumballMachine
    {
        string location;
        int count;
        State state;
        public GumballMachine(string location, int count)
        {
            this.location = location;
            this.count = count;
            state = State.NO_QUARTER;
        }

        public string GetLocation()
        {
            return location;
        }

        public int GetCount()
        {
            return count;
        }

        public State GetState()
        {
            return state;
        }
    }
}
